-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combined docker files #1623
base: main
Are you sure you want to change the base?
Combined docker files #1623
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
restart: unless-stopped | ||
environment: | ||
POSTGRES_DB: "intermediary" | ||
POSTGRES_PASSWORD: "changeIT!" # pragma: allowlist secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using environment variables for database credentials to enhance security. This can be done by setting up environment variables in your CI/CD pipeline or local environment, and referencing them in the docker-compose file. [important]
|
||
postgresql: | ||
image: postgres:16 | ||
restart: unless-stopped |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's recommended to avoid using 'unless-stopped' for the restart policy of containers in production environments. Consider using 'always' or a specific restart policy that aligns with your deployment strategy. [medium]
@@ -56,7 +56,7 @@ creates a `.env` file in the resource folder with the required configuration | |||
|
|||
### Using a local database | |||
|
|||
Use [docker-compose.postgres.yml](docker-compose.postgres.yml) to run your local DB. In IntelliJ, you can click the play arrow to start it | |||
Use [docker-compose.yml](docker-compose.yml) to run your local DB. In IntelliJ, you can click the play arrow to start it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the documentation to reflect the removal of 'docker-compose.postgres.yml' and ensure all references are correctly pointing to 'docker-compose.yml'. This helps in maintaining accurate and useful documentation. [important]
PR Code Suggestions ✨Explore these optional code suggestions:
|
Quality Gate passedIssues Measures |
Description
Describe what changed in this PR at a high level.
Issue
Add a link to the issue here. Consider using
closing keywords
if the this PR isn't for a story (stories will be closed through different means).
Checklist
Note: You may remove items that are not applicable